<!DOCTYPE HTML>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <title>测试</title>
    <script th:src="@{js/public/jquery-3.3.1.min.js}"></script>
</head>
<script>
    function object(x,y) {
        this.x=x;
        this.y=y;
        this.speedX=1;
        this.speedY=1;
        this.oDiv=$('<div></div>')
    }
    object.prototype.refreshPosition(){

    }
</script>
</html>